package com.ilxqx.generator.parser;

import com.ilxqx.generator.po.Rule;

/**
 * 备注中的辅助规则
 * @author venus
 */
public interface Rules {

    /**
     * 是否匹配ruleName所指定的规则
     * @param ruleName 规则名称
     * @return bool
     */
    boolean match(String ruleName);

    /**
     * 获取规则
     * @param ruleName 规则名称
     * @return 规则对象
     */
    Rule getRule(String ruleName);

}
